package com.anlu.alspringannotaion.componentscan;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;

@Configuration
@ComponentScan(value = "com.anlu.alspringannotaion",
//                includeFilters = {@Filter(type = FilterType.ANNOTATION,value = {Controller.class})},
//                includeFilters = {@Filter(type = FilterType.ASSIGNABLE_TYPE,value = {MyController.class})},
                  includeFilters = {@ComponentScan.Filter(type = FilterType.CUSTOM,value = {GPTypeFilter.class})},
                useDefaultFilters = false)
public class MyConfigCompent {


}
